
<?php
        @session_start();
	include ('cnn/cnn.php');

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<title>Registro</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="css/mm_training.css" type="text/css" />
<link rel="stylesheet" href="css/default.css" type="text/css" />
<link rel="stylesheet" href="css/NLForm.css" type="text/css" />
<link rel="stylesheet" href="css/menu_style2.css" type="text/css" />
<script language="javascript" src="js/jquery-1.3.1.min.js"></script>
<script language="javascript" src="js/Ocultar.js"></script>
<script language="javascript" src="js/Envio_Ajax_Jquery.js"></script>
<style type="text/css">
<!--
.Estilo1 {
	font-size: 36px;
	font-weight: bold;
}
.Estilo2 {color: #FF0000}
.Estilo3 {
	color: #FF3300;
	font-size: 16px;
	font-weight: bold;
}
-->
</style>
<style type="text/css">
#tema #contenido div.border-bottom h2 {font-size:13px; font-family:Verdana; font-weight:bold; color:#000; margin-left:1em;}
#tema #contenido ul.radiobutton-h li {background-image: none;}
</style>

</head>
<body bgcolor="#64748B">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr bgcolor="#26354A">
	<td width="15" nowrap="nowrap"><img src="Imagenes/logoitsz.GIF" alt="" width="172" height="106" /></td>
	<td height="70" colspan="2" class="logo" nowrap="nowrap"> Tu Resultado Vocacional:<br/>                <? echo " ".$_SESSION['Aspirante'] ?> <span class="tagline">| DEFINE TU FUTURO</span></td>
	<td width="100%">&nbsp;</td>
	</tr>

	<tr bgcolor="#FF6600">
	<td colspan="4"><img src="Imagenes/mm_spacer.gif" alt="" width="1" height="4" border="0" /></td>
	</tr>

	<tr bgcolor="#D3DCE6">
	<td colspan="4"><img src="Imagenes/mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
	</tr>

	<tr bgcolor="#FFCC00">
	<td width="15" nowrap="nowrap">&nbsp;</td>
	<td width="705" colspan="2" height="24">
	<table border="0" cellpadding="0" cellspacing="0" id="navigation">
        <tr>
          <td class="navText" align="center" nowrap="nowrap"><a href="Index.php">INICIO</a></td>
        </tr>
      </table>	</td>
	<td width="100%">&nbsp;</td>
	</tr>

	<tr bgcolor="#D3DCE6">
	<td colspan="4"><img src="Imagenes/mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
	</tr>

	<tr bgcolor="#FF6600">
	<td colspan="4"><img src="Imagenes/mm_spacer.gif" alt="" width="1" height="4" border="0" /></td>
	</tr>

	<tr bgcolor="#D3DCE6">
	<td colspan="4"><img src="Imagenes/mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
	</tr>

	<tr bgcolor="#D3DCE6">
            <td width="15" valign="top" nowrap>&nbsp;
                <br/>

                <br/>
                <br/>
                <br/>


        </td>

	<td width="35"><img src="Imagenes/mm_spacer.gif" alt="" width="35" height="1" border="0" /></td>
	<td width="710" valign="top"><br />
	&nbsp;<br />
       <form method="post" name="myform" id="myform" action="Guardar_Inf.php" >
	<table border="0" cellspacing="0" cellpadding="2" width="910" >
            <tr>
          <td colspan="3">
              
                    <br/>
            <h3>Su Vocacion Sujerida:</h3>
            <table style="border:blue 1px solid">
                <tr bgcolor="#2E2EFE"><th align="center" valign="middle" width="150px" height="30px">Vocacion</th><th width="150px">Respuesta</th><th width="150px">No</th></tr>
              <?php


                        $cnn = cnn2();
                        $query = 'call Vocacion_Sujerida_2('.$_SESSION['Id_Aspirante'].')';
                        //echo "<br>Consulta".$query;
                        $sql=mysqli_query($cnn,$query) or die ("Error:".mysqli_error($link));
                        while($res=mysqli_fetch_object($sql)){
                            $ord=$res->orden;
                            
                            if($ord=='1')
                                echo "<tr bgcolor=\"#81DAF5\"><td align='center' valign='middle' height='30px'>".$res->vocacion."</td><td align='center' valign='middle' height='30px'>".$res->respuesta."</td><td align='center' valign='middle' height='30px'>".$res->nr."</td></tr>";
                            else
                                echo "<tr><td align='center' valign='middle' height='30px'>".$res->vocacion."</td><td align='center' valign='middle' height='30px'>".$res->respuesta."</td><td align='center' valign='middle' height='30px'>".$res->nr."</td></tr>";
                        }
                        mysqli_close($cnn);

                /*
                 * To change this template, choose Tools | Templates
                 * and open the template in the editor.
                 */

                ?>
              </table>
            <br/>
            



        </td>

            <td valign="top" >
                <div style="background-color: blanchedalmond" >
                    <br/>
            Instrucciones:
            <ul>

            <li>Se Muestra el perfil vocacional.</li>
            <li>El Perfil vocacional sujerido es aquel en el que tienes mayor numero de agrado.</li>
            </ul>
            <br/>
            </div>
                <br/>


        </td>

        </tr>
        <tr>
         <td width="309" class="subHeader">&nbsp;</td>
		  <td width="1" rowspan="2">&nbsp;</td>
		  <td width="288" height="100" rowspan="2">&nbsp;</td>
        </tr>
        <tr>
          <td valign="top" class="bodyText"><p>&nbsp;</p>
            <p>&nbsp;</p>
          </td>
        </tr>
      </table>
           </form>
	 <br />	</td>
	<td>&nbsp;</td>

	</tr>

	<tr bgcolor="#64748B">
	<td width="15">&nbsp;<br />
	&nbsp;<br />	</td>
    <td width="35">&nbsp;</td>
    <td width="710">&nbsp;</td>
	<td width="100%">&nbsp;</td>
  </tr>
</table>
</body>
</html>
